<?php
include '../common.func.php';
$postIndex = getPostIndex();
foreach ($postIndex as $id) {
    echo "compile post $id ...\n";
    compilePostById($id);
}
